package com.beg.cant;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;


@SpringBootApplication(scanBasePackages = "com.beg.cant")
@ComponentScan(basePackages = {"com.beg.cant.controller", "com.beg.cant.service","com.beg.cant"})
@MapperScan("com.beg.cant.mapper")
public class CantApplication {

    public static void main(String[] args) {
        SpringApplication.run(CantApplication.class, args);
    }
}
